<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false"%>

<div class="pageContent">
	<form method="post" action="testEdit.do" id = "editForm" class="editForm required-validate" onsubmit="return navTabSearch(this);">
		<input type="hidden" value="${id}" id="id" name="id"/>
		<input type="hidden" id="flag" name="flag"/>
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>id：</label>
				<input name="posRecode.id" type="text" size="30" value="${posRecode.id}"/> 
			</p>
			<p>
				<label>goodsid：</label>
				<input name="posRecode.goodsid" type="text" size="30" value="${posRecode.goodsid}"/>
			</p>
			<p>
				<label>keeper：</label>
				<input name="posRecode.keeper" type="text" size="30" value="${posRecode.keeper}"/>
			</p>
			<p>
				<label>keeperidentity：</label>
				<input name="posRecode.keeperidentity" type="text" size="30" value="${posRecode.keeperidentity}"/>
			</p>
			<p>
				<label>card：</label>
				<input name="posRecode.card" type="text" size="30" value="${posRecode.card}"/>
			</p>
			<p>
				<label>keeperphone：</label>
				<input name="posRecode.keeperphone" type="text" size="30" value="${posRecode.keeperphone}"/>
			</p>
			<p>
				<label>total：</label>
				<input name="posRecode.total" type="text" size="30" value="${posRecode.total}"/>
			</p>
			<p>
				<label>number：</label>
				<input name="posRecode.number" type="text" size="30" value="${posRecode.number}"/>
			</p>
			<p>
				<label>firstpay：</label>
				<input name="posRecode.firstpay" type="text" size="30" value="${posRecode.firstpay}"/>
			</p>
			<p>
				<label>otherpay：</label>
				<input name="posRecode.otherpay" type="text" size="30" value="${posRecode.otherpay}"/>
			</p>
			<p>
				<label>trade：</label>
				<input name="posRecode.trade" type="text" size="30" value="${posRecode.trade}"/>
			</p>
			<p>
				<label>backtime：</label>
				<input name="posRecode.backtime" type="text" size="30" value="${posRecode.backtime}"/>
			</p>
			<p>
				<label>filedate：</label>
				<input name="posRecode.filedate" type="text" size="30" value="${posRecode.filedate}"/>
			</p>
		</div>
		
		<div class="formBar">
			<ul>
				<li><a class="button" href="javascript:save();"><span>保存</span></a></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>

<script type="text/javascript">
	function save(pageNo) {
		$("#flag").val("save");
		$("#editForm").submit();
	}
</script>